SmartFTP FTP Library
ISFTPConnection::Stat Method

Retrieves attributes from a file system object. 

This method does follow symbolic links. To retrieve the attributes of the link itself use the LStat method.

IDL
HRESULT Stat(
    [in] BSTR bstrPath, 
    [in] long nFlags, 
    [out, retval] IFTPItem** retval
);
Parameters

bstrPath
The path to the file system object.
nFlags
The attributes to be returned.

Returns

If the method succeeds the attributes can be retrieved from the returned FTPItem object.

For further information please see "8.5. Retrieving File Attributes" of SSH File Transfer Protocol.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.